
#ifndef __ISO7816_DEFINES_H__
#define __ISO7816_DEFINES_H__

enum {
	NO_ERR = 0, 
	ERR_POWER_UP, 
	ERR_SEND, 
	ERR_RECEIVE, 
	ERR_PARITY, 
	ERR_TIMEOUT,
	/*5*/
	ERR_TIMERDISABLE, 
	ERR_VOLTAGE,
	ERR_TS, 
	ERR_TCK, 
	ERR_ATR_LEN, 
	/*10*/
	ERR_REJECT_ATR, 
	ERR_CARD_ABSENT,
	ERR_INVALID_APDU, 
	ERR_INVALID_SW, 
	ERR_ASYNC, 
	/*15*/
	ERR_BLOCK_FORMAT,
	ERR_RESPONSE, 
	ERR_REQUEST, 
	ERR_ABORT, 
	ERR_OVER_RETRANSMIT,
	/*20*/
	ERR_CARD_INACTIVE, 
	ERR_OVER_BUFFER_SIZE, 
	ERR_INVALID_BLOCK,
	ERR_DEC,ERR_ATR_INCOMPELET,
	MAX_ERR_CODE
	/*25*/
	};

#endif
